import React, { Component } from 'react'
import More from 'images/home/gengduo@3x.png'
import HotTask from './HotTask'
import{
    HotRecoContainer
} from '../../StyledHome'
export default class HotReco extends Component {
    render() {
        console.log(this)
        return (
            <HotRecoContainer>
               <div>
                   <div><h3>热门任务推荐</h3></div>
                    <div onClick={()=>this.moreChange()}><img className="more" src={More} alt=""/></div>
               </div>
               <HotTask {...this.props}></HotTask>
            </HotRecoContainer>
        )
    }
    moreChange(){
        console.log("热门更多")
        this.props.history.push('/index/hall/whole')
    }
}
